GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


The args contains 2 - 3 items: start_date, ,end_date, [holidays].

Start_date is a date that represents the start date.

End_date is a date that represents the end date.

[Holidays] is an optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contains the dates or an array constant (array: Used to build single formulas that produce multiple results or that operate on a group of arguments that are arranged in rows and columns. An array range shares a common formula; an array constant is a group of constants used as an argument.) of the serial numbers that represent the dates.

Returns the number of whole working days between start_date and end_date.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcNetWorkdaysFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 2 - 3 items: start_date, ,end_date, [holidays].

Start_date is a date that represents the start date.

End_date is a date that represents the end date.

[Holidays] is an optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contains the dates or an array constant (array: Used to build single formulas that produce multiple results or that operate on a group of arguments that are arranged in rows and columns. An array range shares a common formula; an array constant is a group of constants used as an argument.) of the serial numbers that represent the dates.

Return Value

A System.Int32 value that indicates the evaluate result.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

CalcNetWorkdaysFunction Class
CalcNetWorkdaysFunction Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options